package com.rpay.admin.param.basic;

import org.hibernate.validator.constraints.NotBlank;

public class UpdateBasic {
    @NotBlank(message = "CODE不能为空")
    private String code;
    @NotBlank(message = "名称不能为空")
    private String name;
    @NotBlank(message = "描述不能为空")
    private String content;

    @NotBlank(message = "英文名称不能为空")
    private String enName;

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getEnContent() {
        return enContent;
    }

    public void setEnContent(String enContent) {
        this.enContent = enContent;
    }

    @NotBlank(message = "英文描述不能为空")
    private String enContent;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
